package phone.qyg.com.qyg.utils;

/**
 * 作者：lblbh on 2018/4/27 11:16
 * 邮箱：lanbuhan@163.com
 * 功能：TODO
 */

public class XHTMLConverterTestCase
{

//    public static void  a (String url){
//        try {
//        InputStream in = new FileInputStream(url);
//        XWPFDocument document = new XWPFDocument(in);
//
//        File imageFolderFile = new File(path);
//        //加载html页面时图片路径
//        XHTMLOptions options = XHTMLOptions.create().URIResolver( new BasicURIResolver("./"));
//        //图片保存文件夹路径
//        options.setExtractor(new FileImageExtractor(imageFolderFile));
//        OutputStream out = new FileOutputStream(new File(file2));
//        XHTMLConverter.getInstance().convert(document, out, options);
//
//            out.close();
//        } catch (IOException e) {
//            e.printStackTrace();
//        }
//
//    }
}